package com.wwmz.mebatis.v2.plugin;

/**
 * Created by wumz on 2020/10/17 13:56
 */
public interface Interceptor {

    /**
     * 插件的核心逻辑实现
     */
    Object intercept(Invocation invocation) throws Throwable;


    /**
     * 对被拦截对象进行代理
     */
    Object plugin(Object target);
}
